.page-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content-card {
  flex: 1;
}

.homepage-manager {
  display: flex;
  flex-direction: column;
}

.homepage-manager-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
}

.homepage-manager-add-btn {
  height: 32px;
  font-size: 13px;
}

.homepage-manager-add-btn.ant-btn-primary,
.homepage-manager-add-btn.ant-btn-primary:focus,
.homepage-manager-add-btn.ant-btn-primary:active {
  background-color: #fe2c55;
  border-color: #fe2c55;
}

.homepage-manager-add-btn.ant-btn-primary:hover {
  background-color: #ff3b5b;
  border-color: #ff3b5b;
}

.homepage-manager-delete-btn {
  height: 32px;
  font-size: 13px;
}

.homepage-manager-action-icon {
  font-size: 12px;
}

.homepage-manager-author {
  display: flex;
  flex-direction: column;
}

.homepage-manager-author-name {
  font-weight: 500;
}

.homepage-manager-author-url {
  font-size: 12px;
  color: #666;
}

.homepage-manager-table {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.homepage-manager-table .ant-table {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.homepage-manager-table .ant-table-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.homepage-manager-table .ant-table-body {
  flex: 1;
  overflow-y: auto;
  max-height: calc(100vh - 240px);
}

.homepage-manager-table .ant-table-content table {
  min-width: 1800px;
}

.homepage-manager-form {
  margin-top: 16px;
}

.homepage-manager-textarea {
  font-family: "SF Mono", "Monaco", "Inconsolata", "Roboto Mono", "Source Code Pro", "Fira Code", "JetBrains Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  background: #fafafa;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  word-break: keep-all;
  white-space: nowrap;
  overflow-x: auto;
  outline: none;
}

.homepage-manager-textarea:focus {
  border-color: #1890ff;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1), 0 0 0 2px rgba(24, 144, 255, 0.2);
  background: #fff;
}

.homepage-manager-textarea:hover {
  border-color: #40a9ff;
  background: #fff;
}
